interface PaginatedApiResponse<T> {
    limit: number;
    objects: T[];
    offset: number;
    total: number;
    totalCount: number;
}
export interface HubLModule {
    moduleId: number;
    name: string;
    path: string;
    previewKey: string;
    filename: string;
    fields: any[];
    folderPath: string;
}
export interface HubLTemplate {
    path: string;
    label: string;
    previewKey: string;
    filename: string;
    displayName: string;
    templateType?: number;
}
export interface HubLTemplateData {
    previewKey: string;
}
export interface HubLModuleData {
    previewKey: string;
    moduleId: string;
}
export interface ModulePageDependencyData {
    id: string;
    label: string;
    errors?: string[];
    portalId: number;
    subType: string;
}
export declare function fetchHubLModules(accountId: any, previewToken: any, limit?: number): Promise<PaginatedApiResponse<HubLModule>>;
export declare function fetchPreviewTemplates(accountId: any, previewToken: any, limit?: number): Promise<PaginatedApiResponse<HubLTemplate>>;
export declare function fetchModuleByPath(accountId: number, path: string): Promise<any>;
export declare function fetchTemplateByPath(accountId: number, path: string): Promise<HubLTemplateData>;
export declare function fetchModulePageDependencies(accountId: number, path: string): Promise<ModulePageDependencyData[]>;
export {};
